﻿//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Query Application Block
//===============================================================================

using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability;
using EntLibContrib.Query.Properties;

namespace EntLibContrib.Query.Configuration.Manageability.Parameters
{
	/// <summary>
	/// Represents the behavior required to provide Group Policy updates and to publish the 
	/// <see cref="ConfigurationSetting"/> instances associated to a <see cref="ParameterData"/> instance
	/// and its internal configuration elements.
	/// </summary>
	public abstract class ParameterDataManageabilityProvider<T>
		: ConfigurationElementManageabilityProviderBase<T>
		where T : ParameterData
	{
		#region Properties
		/// <summary>
		/// Gets the template for the name of the policy associated to the object.
		/// </summary>
		protected sealed override string ElementPolicyNameTemplate
		{
			get { return InternalResources.ParameterPolicyNameTemplate; }
		}
		#endregion
	}
}
